@echo off
echo Restarting gateway-service...

cd /d F:\shopping\gateway-service

echo Stopping gateway-service...
taskkill /F /FI "WINDOWTITLE eq gateway-service*" /T

echo Starting gateway-service...
start "gateway-service" cmd /k "mvn spring-boot:run"

echo Gateway-service restarted successfully.
pause